#ifndef _MOUSE_MESSAGE_h_
#define _MOUSE_MESSAGE_h_

#include <OgreSingleton.h>
#include "windows.h"

#define MOUSE_MOVE 1
#define MOUSE_CLICK 2
#define MAX_HAND_NUM 10

class  myPoint
{
public:
	int x;
	int y;
	myPoint():x(0),y(0){}
	myPoint(int px, int py):x(px), y(py){}
};

class MouseMessage: public Ogre::Singleton<MouseMessage>
{
public:
	MouseMessage();
	myPoint lastLocation[MAX_HAND_NUM];

	void updateMouse(myPoint location, int userID, int flag);
};

#endif